home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Communications Toolbox / CTB Development Resources / Simple FT Tool / Simon Tool / Constants.h next >
Encoding:
C/C++ Source or Header  |  1992-05-13  |  3.4 KB  |  103 lines  |  [TEXT/MPS ]

  1. /************************************************************************************
  2.                                   P R O J E C T   I N F O
  3. *************************************************************************************
  4.   
  5.     Project Name:    Simon
  6.        File Name:    Constants.h
  7.   
  8.      Description:    Common defines between our resource file and C code.
  9.   
  10.                           Copyright © 1992 Apple Computer, Inc.
  11.                           All rights reserved.
  12.   
  13. *************************************************************************************
  14.                               A U T H O R   I D E N T I T Y
  15. *************************************************************************************
  16.   
  17.       Initials    Name
  18.       --------    -----------------------------------------------
  19.       CH            Craig Hotchkiss
  20.   
  21. *************************************************************************************
  22.                               R E V I S I O N   H I S T O R Y
  23. *************************************************************************************
  24.  
  25.     Change History (most recent first):
  26.  
  27.          <0>      5/8/92    CH        Creation date
  28.  
  29. ************************************************************************************/
  30.  
  31.  
  32.  
  33. #ifndef __CONSTANTS__
  34.     #define __CONSTANTS__
  35.  
  36.  
  37.  
  38. /************************************************************************************
  39.                                 Common Definitions
  40. ************************************************************************************/
  41. #define        BASEResID                        BaseResNumber
  42.  
  43. #define        rLanguageID                        BASEResID
  44.  
  45.  
  46. /************************************************************************************
  47.                                 FLST Constants
  48. ************************************************************************************/
  49. #define        rFlstID                            BASEResID
  50.  
  51.  
  52. /************************************************************************************
  53.                                 TMPL Constants
  54. ************************************************************************************/
  55. #define        rXbndTemplateID                    BASEResID
  56. #define        rDefaultTemplateID                BASEResID + 1
  57. #define        rFlstTemplateID                    ( -32512 )
  58. #define        kDefaultResName                    "\pdfCf"
  59. #define        kFlstResName                    "\pflst"
  60.  
  61.  
  62. /************************************************************************************
  63.                                 Default Constants
  64. ************************************************************************************/
  65. #define        kThisToolVersion                1
  66. #define        kDefaultType                    'dfCf'
  67. #define        kDefaultQType                    "dfCf"
  68. #define        rDefaultConfigID                BASEResID
  69.  
  70.  
  71. /************************************************************************************
  72.                                 Preferences Constants
  73. ************************************************************************************/
  74. #define        kPrefsFileName                    "\pSimon Tool Prefs"
  75.  
  76.  
  77. /************************************************************************************
  78.                                 fbnd Constants
  79. ************************************************************************************/
  80. #define        rFapsID                            BASEResID
  81.  
  82.  
  83. /************************************************************************************
  84.                                 fbnd Constants
  85. ************************************************************************************/
  86. #define        LowResID                        0
  87. #define        HighResID                        31000
  88.  
  89. #define        rFbndID                            BASEResID
  90. #define        kBNDLType                        "xbnd"
  91.  
  92.     /* config strings */
  93. #define        rEnglishConfigStr                HighResID
  94. #define        rFrenchConfigStr                rEnglishConfigStr + 1
  95. #define        rFinnishConfigStr                rEnglishConfigStr + 2
  96.  
  97.     /* setup DITL for choose dialog */
  98. #define        rEnglishSetupDITL                HighResID
  99.  
  100.  
  101.  
  102. #endif __CONSTANTS__
  103.